#!/bin/bash




lsof -i :81  &>/dev/null

if [ $? -ne 0 ];then


   #pkill keepalived
   # 退出一个1就表示我们服务检测失败了
   exit 1

fi                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               
